<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--:属性名=变量  让元素的属性和变量进行绑定-->
<div>
  <input type="text" :value="info">
  <!--<input type="text" v-bind:value="info">-->
    <a :href="url">超链接</a>
    <img :src="imageName" alt="">
</div>
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<script>
  new Vue({
    el:"div",
    data:{
        info:"属性绑定",
        url:"http://www.baidu.com",
        imageName:"head.jpg"
    }
  })
</script>
</body>
</html>